package com.wlps.service;

import com.wlps.entity.PurchaseReceipt;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wlps.result.ResultPageVo;
import com.wlps.result.ResultVo;
import com.wlps.vo.sendcenter.inoutform.PurchaseReceiptAddVo;
import com.wlps.vo.warehousecenter.pickup.MissionListVo;
import com.wlps.vo.warehousecenter.warehoused.ReturnOutOfStockVo;
import com.wlps.vo.warehousecenter.warehousing.PurchaseReceiptUpdateVo;
import com.wlps.vo.warehousecenter.warehousing.PurchaseReceiptVo;

import java.util.List;

/**
 * <p>
 * 购货入库单表(purchase_receipt) 服务类
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-31
 */
public interface IPurchaseReceiptService extends IService<PurchaseReceipt> {

    /**
     * 分页显示入库单
     *
     * @param pageNum  页数号
     * @param pageSize 页条数
     * @param id       购货入库单号
     * @return
     */
    ResultPageVo<List<PurchaseReceiptVo>> getPurchaseReceiptVo(int pageNum, int pageSize, Long id);

    /**
     * 确认入库
     *
     * @param id
     * @param purchaseReceiptUpdateVo
     * @return
     */
    ResultVo editWarehouseingVo(long id, PurchaseReceiptUpdateVo purchaseReceiptUpdateVo);

    /** 创建入库单
     * @param purchaseReceiptAddVo
     * @return
     */
    ResultVo<PurchaseReceipt> addPurchaseReceiptAddVo(PurchaseReceiptAddVo purchaseReceiptAddVo);
}
